<!doctype html>
<html class="no-js">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>{$title}</title>
  <meta name="description" content="这是一个 help 页面">
  <meta name="keywords" content="help">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" /> 
  <meta name="apple-mobile-web-app-title" content="Amaze UI" />
  <css  href="__PUBLIC__/assets/css/amazeui.min.css"/>
  <css  href="__PUBLIC__/assets/css/admin.css"/>
  <js href="__PUBLIC__/assets/js/jquery.min.js"/>
   <js href="__PUBLIC__/assets/js/amazeui.min.js"/>
</head>
<body>
<style>
.am-activee{
	background:#0E90D2 !important;
	color:#ffffff !important;
}
</style>
<header class="am-topbar am-topbar-inverse admin-header">
  <div class="am-topbar-brand">
   <!-- 河南志信 --> <strong>河南志信技有限公司——</strong> <small>出差管理系统</small>
  </div>
  <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>
  <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
    <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">   
    <empty name="Think.session.name">
          <li><a href="{:U('Login/login')}"><span class="am-icon-user"></span> 登录</a></li>
    <else/>
        <li><a href=""><span class="am-icon-user"></span>  欢迎您：{$Think.session.name}</a></li> 
          <li><a href="{:U('Login/logout')}"><span class="am-icon-sign-out"></span>注销</a></li>  
    </empty>                                    
    </ul>
  </div>
</header>

<div class="am-cf admin-main">
  <!-- sidebar start -->
  <div class="admin-sidebar am-offcanvas am-dh">
    <div class="am-offcanvas-bar admin-offcanvas-bar">    
      <ul class="am-list admin-sidebar-list" >
       <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Index'">class="am-activee"</if> href="{:U('Admin/Index/index')}"><span class="am-icon-home"></span> 首页</a></li>
        <li class="admin-parent">
          <a class="am-cf" data-am-collapse="{target: '#collapse-nav2'}"> 公司管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav2">
           <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Station'">class="am-activee"</if> href="{:U('Admin/Station/View')}" class="am-cf">公司岗位</a></li>
           <eq name="Think.session.uid" value="1">
           <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Staff'">class="am-activee"</if> href="{:U('Admin/Staff/View')}" class="am-cf">员工管理</a></li>
           </eq>
            <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Status'">class="am-activee"</if> href="{:U('Admin/Status/View')}" class="am-cf">员工状态</a></li> 
            <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Task'">class="am-activee"</if> href="{:U('Admin/Task/View')}" class="am-cf">出差记录</a></li>                   
            

            <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Leave'">class="am-activee"</if> href="{:U('Admin/Leave/View')}"> 请假记录</a></li>
            <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Late'">class="am-activee"</if> href="{:U('Admin/Late/View')}"> 迟到记录</a></li>  
              <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Kqbf'">class="am-activee"</if> href="{:U('Admin/Kqbf/View')}" class="am-cf">考勤统计</a></li>    
              <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Check'">class="am-activee"</if> href="{:U('Admin/Check/View')}"> 出差累计</a></li>         
          </ul>
        </li>   
        <li class="admin-parent">
          <a class="am-cf" data-am-collapse="{target: '#collapse-nav'}"> 权限管理 <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
          <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav">
            <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/User'">class="am-activee"</if>  href="{:U('Admin/User/View')}" class="am-cf"> 系统管理人员</a></li>
            <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Group'">class="am-activee"</if> href="{:U('Admin/Group/View')}"> 角色管理</a></li>           
            <li><a <if condition="MODULE_NAME.'/'.CONTROLLER_NAME eq 'Admin/Rule'">class="am-activee"</if> href="{:U('Admin/Rule/View')}"> 权限列表</a></li>                  
          </ul>
        </li>             
      </ul>
       <div class="am-panel am-panel-default admin-sidebar-panel">
        <div class="am-panel-bd">
          <p><span class="am-icon-bookmark"></span> 公告</p>
          <p>时光静好，与君语；细水流年，与君同。—— 河南志信</p>
        </div>
      </div>

      <div class="am-panel am-panel-default admin-sidebar-panel">
        <div class="am-panel-bd">
          <p><span class="am-icon-tag"></span> wiki</p>
          <p>Welcome to the 河南志信</p>
        </div>
      </div> 
    </div>
  </div>
  <!-- sidebar end -->

  <!-- content start -->
  <div class="admin-content"> 
    <div class="admin-content-body">  
      <hr/>
     <block name="main">
    这里是内容 
     </block>
 </div>
    <footer class="admin-content-footer">
      <hr>
      <p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>
    </footer>
  </div>
  <!-- content end -->




</div>



</body>
</html>
